﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package Modules.crew.ui {
    import flash.display.*;
    import flash.utils.*;
    import Classes.*;
    import flash.filters.*;
    import flash.text.*;

    public class CrewRewardIntroSprite extends Sprite {

        public function CrewRewardIntroSprite(_arg1:Dictionary, _arg2:DisplayObject, _arg3:Number=0){
            var _local4:DisplayObject = (new (_arg1["payroll_rewardBG_blue"])() as DisplayObject);
            addChild(_local4);
            addChild(_arg2);
            _arg2.x = ((_local4.width - _arg2.width) / 2);
            _arg2.y = ((_local4.height - _arg2.height) / 2);
            var _local5:TextField = new TextField();
            _local5.text = String(_arg3);
            _local5.selectable = false;
            _local5.embedFonts = true;
            _local5.antiAliasType = AntiAliasType.ADVANCED;
            _local5.gridFitType = GridFitType.PIXEL;
            _local5.autoSize = TextFieldAutoSize.CENTER;
            _local5.filters = [new GlowFilter(0xFFFFFF, 1, 6, 6, 10, BitmapFilterQuality.LOW), new DropShadowFilter(1, 90, 0, 0.4, 3, 3)];
            var _local6:TextFormat = new TextFormat();
            _local6.font = EmbeddedArt.TITLE_FONT;
            _local6.color = EmbeddedArt.lightOrangeTextColor;
            _local6.align = TextFormatAlign.CENTER;
            _local6.size = 26;
            _local5.setTextFormat(_local6);
            addChild(_local5);
            _local5.y = 70;
        }
    }
}//package Modules.crew.ui 
